package com.zhixiang.xaec.entity.health;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

@Comment("评审")
@Entity
@Table(name="health_Review")
public class Review extends BaseEntity{
	@Comment("评审人")
	@Column(length=200)
	private String reviewPerson;
	@Comment("评审时间")
	@Column(length=30)
	private Date reviewDate;
	@Comment("评审内容")
	@Column(length=1000)
	private String reviewContent;
	@Comment("评审结论")
	@Column(length=1000)
	private String reviewConclusion;
	
	@Comment("关联职业健康危害因素")
	private Long riskFactorsNo;
	
	public String getReviewPerson() {
		return reviewPerson;
	}
	public void setReviewPerson(String reviewPerson) {
		this.reviewPerson = reviewPerson;
	}
	@JSON(format="yyyy-MM-dd")
	public Date getReviewDate() {
		return reviewDate;
	}
	public void setReviewDate(Date reviewDate) {
		this.reviewDate = reviewDate;
	}
	public String getReviewContent() {
		return reviewContent;
	}
	public void setReviewContent(String reviewContent) {
		this.reviewContent = reviewContent;
	}
	public String getReviewConclusion() {
		return reviewConclusion;
	}
	public void setReviewConclusion(String reviewConclusion) {
		this.reviewConclusion = reviewConclusion;
	}
	
	public Long getRiskFactorsNo() {
		return riskFactorsNo;
	}
	public void setRiskFactorsNo(Long riskFactorsNo) {
		this.riskFactorsNo = riskFactorsNo;
	}
}
